﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TrainingsApp.Model {
    public enum ImportType : byte {
        School = 0,
        User = 1,
        Chapter = 2,
        XlsChapter
    }

    public enum UserType : byte {
        Error = 0,
        Children = 1,
        Teacher = 2,
        Parent = 4,
        SuperAdmin = 8,
        Admin = 16,
        Guest = 128,

    }
    public class UserSources {
        public const Int16 Register = 0;

        public const Int16 Valid = 1;
    }


    public enum SchoolType : byte {

        Nursery = 0, //幼儿园

        Primary = 10,//小学

        Secondary = 20,//中学

        HighSecondary = 21,//高级中学

        AllSecondary = 22,//完全中学

        DeafPeople = 23,//聋人学校

        Retard = 24,//弱智学校

        NineYearSecondary = 25,//九年制一贯制学校

        TwelveYearSecondary = 26,//十二年一贯制学校

        OtherSecondary = 27,//其他特教学校

        Approved = 28,//工读学校 

        HighSchool = 30,//职业高中学校

        TechnicalSchool = 31,//中等技术学院

        ProfessionalSchool = 32,//成人中等专业学校

        OtherHighSchool = 33,//其他中学机构

        University = 40,//大学

        College = 41,//学院

        IndependentCollege = 42,//独立学院

        HighProfessionalSchool = 43,//高等专科学校

        HighTechnicalSchool = 44,//高等职业学校

        GraduateFaculty = 45,//培养研究生的科研机构

        RadioATelevision = 46,//广播电视大学

        CollegeOfEducation = 47,//教育学院

        AdultCollege = 48,//职工高校

        Other = 49,//其他机构

        Unknow = 245

    }

    public enum PatriarchType {
        A = 0,//父亲
        B = 1,//母亲
        C = 2,//阿姨
        D = 3,//叔叔
        E = 4,//舅妈
        F = 5,//舅舅
        G = 6,//外公
        H = 7,//外婆
        I = 8,//奶奶
        J = 9,//爷爷
        K = 10,//邻居
        Z = 11,//其他
    }
}
